using MediatR;
using S.M.SmartMedical.Domain.DTOs;
using S.M.SmartMedical.Domain.Enums;
using S.M.SmartMedical.ErrorCode;

namespace S.M.SmartMedical.API.Read.Application.Query
{
    /// <summary>
    /// 获取轮播图列表查询
    /// </summary>
    public class GetCarouselsQuery : IRequest<APIResult<PagedResult<CarouselDto>>>
    {
        /// <summary>
        /// 标题关键词
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public CarouselStatus? Status { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 当前页码
        /// </summary>
        public int CurrentPage { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}